<!DOCTYPE html>
<html lang="zh">
  <head>
    <meta charset="UTF-8">
    <title>贪吃蛇</title>
  </head>
  <body>
  <!-- 创建游戏的主容器 -->
  <div id="main">
    <!-- 设置游戏的舞台 -->
    <div id="stage">
      <!-- 设置蛇 -->
      <div id="snake">
        <!-- 蛇的各部分 -->
        <div></div>
      </div>

      <div id="food">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>

    <div id="score-panel">
      <div>
        SOCRE:<span id="score">0</span>
      </div>
      <div>
        level:<span id="level">1</span>
      </div>
    </div>
  </div>
  </body>

</html>